package com.vito.framework.system.config.service;

import com.vito.framework.base.exception.CommonException;
import com.vito.framework.base.service.BaseService;
import com.vito.framework.system.config.model.SysConfig;

public interface SysConfigService extends BaseService<SysConfig> {

    SysConfig get();

    /**
     * 添加配置参数
     */
    int insert(SysConfig sysConfig) throws CommonException;

    /**
     * 修改配置参数
     */
    int update(SysConfig sysConfig) throws CommonException;

    /**
     * 删除配置参数
     */
    int delete(SysConfig sysConfig) throws CommonException;
}
